package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 动态格数据对象 dynamic_table_data
 * 
 * @author alex
 * @date 2025-07-29
 */
public class DynamicTableData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 包区ID */
    @Excel(name = "包区ID")
    private Long districtId;

    /** 包区名称 */
    @Excel(name = "包区名称")
    private String districtName;

    /** 包区状态 */
    @Excel(name = "包区状态")
    private String districtStatus;

    /** 时间周期名称 */
    @Excel(name = "时间周期名称")
    private String periodName;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 时间周期排序 */
    @Excel(name = "时间周期排序")
    private Integer periodOrder;

    /** 时间段状态 */
    @Excel(name = "时间段状态")
    private String periodStatus;

    /** 进度值 */
    @Excel(name = "进度值")
    private BigDecimal progressValue;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDistrictId(Long districtId) 
    {
        this.districtId = districtId;
    }

    public Long getDistrictId() 
    {
        return districtId;
    }

    public void setDistrictName(String districtName) 
    {
        this.districtName = districtName;
    }

    public String getDistrictName() 
    {
        return districtName;
    }

    public void setDistrictStatus(String districtStatus) 
    {
        this.districtStatus = districtStatus;
    }

    public String getDistrictStatus() 
    {
        return districtStatus;
    }

    public void setPeriodName(String periodName) 
    {
        this.periodName = periodName;
    }

    public String getPeriodName() 
    {
        return periodName;
    }

    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }

    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }

    public void setPeriodOrder(Integer periodOrder) 
    {
        this.periodOrder = periodOrder;
    }

    public Integer getPeriodOrder() 
    {
        return periodOrder;
    }

    public void setPeriodStatus(String periodStatus) 
    {
        this.periodStatus = periodStatus;
    }

    public String getPeriodStatus() 
    {
        return periodStatus;
    }

    public void setProgressValue(BigDecimal progressValue) 
    {
        this.progressValue = progressValue;
    }

    public BigDecimal getProgressValue() 
    {
        return progressValue;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("districtId", getDistrictId())
            .append("districtName", getDistrictName())
            .append("districtStatus", getDistrictStatus())
            .append("periodName", getPeriodName())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("periodOrder", getPeriodOrder())
            .append("periodStatus", getPeriodStatus())
            .append("progressValue", getProgressValue())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
